// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** getProductCodeByWsSerialIdFromWorksheetYield GET /worksheet-yield-info/getProductCode */
export async function getProductCodeByWsSerialIdFromWorksheetYieldUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getProductCodeByWsSerialIdFromWorksheetYieldUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseString_>('/worksheet-yield-info/getProductCode', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listProductCodeFromWorksheetYield GET /worksheet-yield-info/listProductCode */
export async function listProductCodeFromWorksheetYieldUsingGET(options?: { [key: string]: any }) {
  return request<API.BaseResponseListString_>('/worksheet-yield-info/listProductCode', {
    method: 'GET',
    ...(options || {}),
  });
}

/** listWsSerialNumberFromWorksheetYield GET /worksheet-yield-info/listWsSerialNumber */
export async function listWsSerialNumberFromWorksheetYieldUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.listWsSerialNumberFromWorksheetYieldUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListWsSerialDTO_>('/worksheet-yield-info/listWsSerialNumber', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
